package com.ruoyi.common.entity.VO.member;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MemberVO {
    private Long id;
    private String ids;
    private Long[] idArr;
    private Long shopId;
    private String shopName;
    private String memberSn;
    private String nickname;
    private String avatar;
    private String avatarW;
    private String loginName;
    @Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "手机号格式有误")
    private String phone;
    private Integer sex;
    private String birthday;
    @Email(message = "邮箱格式有误")
    private String email;

    private BigDecimal balance;
    private Integer credit;
    private BigDecimal commission;
    private BigDecimal totalRechargeAmount;
    private BigDecimal totalPetrolAmount;
    private BigDecimal totalAmount;
    private Long vipTypeId;
    private String vipTypeName;
    private String vipTypeLogo;
    private String salt;
    private String paypassword;
    private String userName;
    private String prePoster;
    private String createBy;
    private String updateBy;
    private Date loginTime;
    private Date lastConsumeTime;
    private Date createTime;
    private Date updateTime;

    private Integer consumeCount;

    private Integer isCustomBenefit;
    private String labelNames;

}
